package com.jucai.pppeiyouclient.adapter;

import android.content.Context;

import com.jucai.pppeiyouclient.R;
import com.jucai.pppeiyouclient.base.CommonRecyclerViewAdapter;

import java.util.List;

/**
 * Created by Kuky on 2017-05-02.
 */

public class ComplaintAdapter extends CommonRecyclerViewAdapter<String> {
    public ComplaintAdapter(Context context, List<String> data) {
        super(context, data);
    }

    @Override
    public void bindHolder(CommonHolder holder, String s) {
        holder.setText(R.id.reason, s);
    }

    @Override
    protected int getItemType(int position) {
        return 0;
    }

    @Override
    public int getLayoutId(int viewType) {
        return R.layout.item_complaint_reason;
    }
}
